package com.skwyb.form.utils;

import lombok.extern.log4j.Log4j2;
import org.apache.commons.lang3.StringUtils;

import java.io.File;

@Log4j2
public class FileUtils {

    public static void delete(String dir) {
        if (StringUtils.isBlank(dir)) return;
        File file = new File(dir);
        file.delete();
    }
}
